import { RouteRecordRaw } from 'vue-router'

export const defaultRouter: Array<RouteRecordRaw> = [
    {
        path: '/',
        name: '/',
        component: () => import('@/views/home/home.vue'),
        meta: {
            title: '首页',
            keepAlive: false,
            index: 1,
            transition: {
                enable: true,
                name: ''
            }
        }
    },
    {
        path: '/home',
        name: 'home',
        component: () => import('@/views/home/home.vue'),
        meta: {
            title: '首页',
            keepAlive: false,
            index: 1,
            transition: {
                enable: true,
                name: ''
            }
        }
    },
    {
        path: '/mine',
        name: 'mine',
        component: () => import('@/views/mine/mine.vue'),
        meta: {
            title: '我的',
            keepAlive: false,
            index: 1,
            transition: {
                enable: true,
                name: ''
            }
        }
    },

    {
        path: '/system',
        name: 'system',
        component: () => import('@/views/system/index.vue'),
        meta: {
            title: '系统信息',
            keepAlive: false,
            index: 3,
            transition: {
                enable: true,
                name: 'van-fade'
            }
        }
    }
]
